package vn.easyticket.db;

import org.springframework.data.repository.NoRepositoryBean;

import vn.easyticket.db.exceptions.NoServiceFoundException;
import vn.easyticket.db.facet.AbstractReposityService;

@NoRepositoryBean
public interface RepositoriesServiceFactory
{
    public <T extends AbstractReposityService<?, ?>> T getService( Class<T> requiredType )
        throws NoServiceFoundException;
}
